package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品对象 device_binding_table
 * //20250213 云计算-智能车联-04-数据统计
 * @author 刘进祥
 * @date 2025-02-13
 */
public class DeviceBindingTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String deviceCode;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private String deviceModel;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 设备绑定总数 */
    @Excel(name = "设备绑定总数")
    private Long bindingTotal;

    /** 采集开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采集开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date collectionStartTime;

    /** 采集结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采集结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date collectionEndTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setDeviceCode(String deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode() 
    {
        return deviceCode;
    }
    public void setDeviceModel(String deviceModel) 
    {
        this.deviceModel = deviceModel;
    }

    public String getDeviceModel() 
    {
        return deviceModel;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setBindingTotal(Long bindingTotal) 
    {
        this.bindingTotal = bindingTotal;
    }

    public Long getBindingTotal() 
    {
        return bindingTotal;
    }
    public void setCollectionStartTime(Date collectionStartTime) 
    {
        this.collectionStartTime = collectionStartTime;
    }

    public Date getCollectionStartTime() 
    {
        return collectionStartTime;
    }
    public void setCollectionEndTime(Date collectionEndTime) 
    {
        this.collectionEndTime = collectionEndTime;
    }

    public Date getCollectionEndTime() 
    {
        return collectionEndTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productName", getProductName())
            .append("deviceCode", getDeviceCode())
            .append("deviceModel", getDeviceModel())
            .append("deviceName", getDeviceName())
            .append("bindingTotal", getBindingTotal())
            .append("collectionStartTime", getCollectionStartTime())
            .append("collectionEndTime", getCollectionEndTime())
            .toString();
    }
}
